﻿if exists (select * from dbo.sysobjects where name = 'sp_tb_Admin_Update')
	drop procedure [dbo].[sp_tb_Admin_Update]
Go 
CREATE PROCEDURE dbo.sp_tb_Admin_Update
@Username	varchar(50),
@Password	varchar(50),
@Status	bit
AS
UPDATE tb_Admin SET [Password] = @Password,[Status] = @Status
WHERE  Username= @Username
Go